﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Amf4Asmx.AmfObjects
{

    /// <summary>
    /// AMF0 data types.
    /// </summary>
    public enum Amf0TypeCode : byte
    {
        /// <summary>
        /// AMF Number data type.
        /// </summary>
        Number = 0,
        /// <summary>
        /// AMF Boolean data type.
        /// </summary>
        Boolean = 1,
        /// <summary>
        /// AMF String data type.
        /// </summary>
        String = 2,
        /// <summary>
        /// AMF ASObject data type.
        /// </summary>
        ASObject = 3,
        /// <summary>
        /// AMF Null data type.
        /// </summary>
        Null = 5,
        /// <summary>
        /// AMF Undefined data type.
        /// </summary>
        Undefined = 6,
        /// <summary>
        /// AMF Reference data type.
        /// </summary>
        Reference = 7,
        /// <summary>
        /// AMF AssociativeArray data type.
        /// </summary>
        AssociativeArray = 8,
        /// <summary>
        /// AMF EndOfObject data type.
        /// </summary>
        EndOfObject = 9,
        /// <summary>
        /// AMF Array data type.
        /// </summary>
        Array = 10,
        /// <summary>
        /// AMF DateTime data type.
        /// </summary>
        DateTime = 11,
        /// <summary>
        /// AMF LongString data type.
        /// </summary>
        LongString = 12,
        /// <summary>
        /// AMF Xml data type.
        /// </summary>
        Xml = 15,
        /// <summary>
        /// AMF CustomClass(TypedObject) data type.
        /// </summary>
        CustomClass = 16,
        /// <summary>
        /// AMF3 data.
        /// </summary>
        Amf3Tag = 17,
    }

}
